/**
 * 
 */
package com.ls.lsqc.modules.order.dao;


import com.ls.lsqc.common.persistence.CrudDao;
import com.ls.lsqc.common.persistence.annotation.MyBatisDao;
import com.ls.lsqc.dbaccess.Entity.ProductionItemEntity;
import com.ls.lsqc.modules.order.entity.*;


/**
 * 订单DAO接口
 * @author zq
 * @version 2016-10-31
 */
@MyBatisDao
public interface OrderDao extends CrudDao<Order> {
    /**
     * 插入生产工票表
     * @return
     */
    public int insertProItem(ProductionItemEntity productionItemEntity);
    
    /**
     * 获取订单质检状态信息
     * @return
     */
    public Order getOrderQuatityInfo(Long orderId);
    
    /**
     * 更新订单生产状态
     * @return
     */
    public int updateProduceStatus(Order order);
    /**
     * 款式ID获取订单信息
     * @return
     */
    public Order getOrderByStyleId(long styleId);
}
